<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String servers=request.getScheme()+"://"+request.getServerName();
//String serverss="http://192.168.0.10:8099";
request.setCharacterEncoding("UTF-8");
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>首页</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
<jsp:include page="/scripts/common/index.html"></jsp:include>
<jsp:include page="/scripts/jquery/index.html"></jsp:include>
<jsp:include page="/scripts/dhtmlx/index.html"></jsp:include>
<jsp:include page="/scripts/bootstrap/index.html"></jsp:include>
<link rel="stylesheet" href="${basePath }style/default.css">
<!-- 引入pentaho的地址参数js  -->
<script type="text/javascript" src="${basePath }setpentaho/SetAddress.js" >
</script>
	<script type="text/javascript">
	//alert(pentaho_address);
	document.domain = pentaho_address;
	var treeId;
	var treeName;
	////设置初始化
	function init() {
		sethome();
		//addMenu();	
	}
	//设置初始化
	function sethome(){
		$("#home1iframe").attr("src", pentaho_address+"/pentaho/plugin/pentaho-cdf-dd/api/renderer/render?solution=public&path=GX&file=home1.wcdf&userid=admin&password=password");
		$("#home2iframe").attr("src", pentaho_address+"/pentaho/plugin/pentaho-cdf-dd/api/renderer/render?solution=public&path=GX&file=home2.wcdf&userid=admin&password=password");
		$("#home3iframe").attr("src", "/GX_IRAP/echarts-master/index.jsp");
	}
	
	
	</script>
<style type="text/css">
  br {
    clear: both;
  }
</style>
  </head>
  
  <body onload="init()" >
  <!-- 
  <div style="text-align: right;padding: 6px 6px ;font-size:12px;" >
     统计时间：
  <select style="border-radius: 5px;width:70px;padding:4px 6px">
  <option value="2017">2017</option>
  <option value="2016">2016</option>
  </select> 
  </div>
   -->
    <div style="overflow:scroll;display: flex;height: 100%;">
    <!-- 左边的div -->
     <div style="width: 60%;">
      <div>
       <div style="text-align: center; background-color: #0099CC;color:#fff">行政审批许可发放情况</div>
      <iframe id="home1iframe" height="300px" width="99%" style="border: none"></iframe>
      </div>
      <div style="text-align: center;overflow: hidden">
      <div style="background-color:#0099CC;color:#fff">日常监管餐饮服务覆盖情况</div>
      <iframe id="home2iframe" height="340px" width="99%" style="border:none"></iframe>

      </div> 
	</div>
    <!-- 右边的div -->
    <div style="width: 40%;flex: 1; background-color: rgba(197, 193, 198, 0.1);padding:10px;padding-top:0">
    <div style="text-align:center; background-color: #0099cc;color: #fff">日常监管食品经营企业违规情况</div>
     <iframe id="home3iframe" height="650px" width="99%" style="border:none"></iframe>
    
     <br>
    </div>
    </div>
  </body>
</html>
